<?php

namespace api\finance\controller;

class AdminSettingController extends \Aaa\finance\controller\AdminSettingController {

    public function beforeIndex() {
        $this->baseField = [
            [
                'field' => 'moneyChargeTip',
                'name' => '充值提示',
                'type' => 'textarea',
                'remark' => '资金充值页面',
            ],
            [
                'field' => 'cashFee',
                'name' => '提现手续费',
                'remark' => '单位：百分比',
            ],
            [
                'field' => 'freeWithdrawalAmount',
                'name' => '免费提现额度',
                'remark' => '用户初始免费提现额度',
            ],
            [
                'field' => 'cashMin',
                'name' => '提现最小金额',
                'remark' => '0为不限制',
            ],
            [
                'field' => 'cashMax',
                'name' => '提现最大金额',
                'remark' => '0为不限制',
            ],
            [
                'field' => 'cashDayCountLimit',
                'name' => '每天提现次数',
                'remark' => '0为不限制',
            ],
        ];
    }

}
